import {
  SET_SINGER,
  SET_LINK_ACTIVE
} from "./mutation-types";

const mutations = {
  [SET_SINGER](state, singer) {
    state.singer = singer;
  },
  // 修改header路由
  [SET_LINK_ACTIVE](state, index) {
    state.linkaActive = index;
  }
};

export default mutations;
